package org.example.demo.pinjie;

import java.util.ArrayList;


public class Qbc {
    public static void main(String[] args) {
        String ww = "abc";
        System.out.println(ww.substring(0, 1));
    }

    public  static ArrayList<User>  getMax(ArrayList<User> array,Double price){
        ArrayList<User>  al = new ArrayList<>();
        for (int i = 0; i < array.size(); i++) {
            if(array.get(i).getHeight() < price){
                al.add(array.get(i));
            }
        }
        return  al;
    }

}
